package com.aaa.project.service;

import com.aaa.entity.GGGoods;
import com.aaa.entity.GGoods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author zhangxuhui
 * @since 2023-02-06
 */
public interface IGGoodsService extends IService<GGoods> {


    GGoods find(String code);

    List<Map<String,Object>> findAll(String id);

    Object findAllNum(String id);

    List<Map<String,Object>> findGoods(String id, String uid);



    Object jiSuan(String id);

//    商家
    List getAllgoodsinfoBybid(Integer curr,Integer size, String bid, GGGoods gGoods);

    int update(GGGoods gGoods);

    int save(GGGoods ggGoods);

}
